<template>
  <li class="dropdown-option" :class="disable?'disableItem':''">
    <slot></slot>
  </li>
</template>

<script lang="ts">
import {defineComponent} from 'vue'
export default defineComponent({
  props:{
    disable:{
      type:Boolean,
      default:false
    }
  }
})
</script>

<style lang="less" scoped>
.dropdown-option{
  text-align: left;
  padding: 5px 0;
  cursor: pointer;
  text-decoration: underline;
  text-align: left;
}
.disableItem{
  color: #6c757d;
  pointer-events: none;
  background-color: transparent;
  // text-align: left;
}
</style>